package stool.mediator;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/14
 */
public class Main {

    public static void main(String[] args) {

        UnitedNationSecurityCouncil unitedNationSecurityCouncil = new UnitedNationSecurityCouncil();

        USA u = new USA(unitedNationSecurityCouncil);
        Iraq i = new Iraq(unitedNationSecurityCouncil);

        unitedNationSecurityCouncil.setUsa(u);
        unitedNationSecurityCouncil.setIraq(i);

        u.declare("i am USA.");
        i.declare("i am Irap.");


    }
}
